package cn.ynrcb.personnelfile.admin.enums;

import lombok.Getter;

/**
 * 操作日志-操作类型枚举
 *
 * @author lihui
 * @date
 */
@Getter
public enum OpLogTypeEnum implements CodeEnum{

    SAVE(1, "保存"),
    MODIFY(2, "修改"),
    DELETE(3, "删除"),
    SAVE_AUDIT(4, "保存并提交审核"),
    RECALL(5, "撤回"),
    SUBMIT_MODIFY(10, "提交信息审核"),
//    SUBMIT_APPLY_MODIFY(11, "提交变更申请"),
    AUDIT_MODIFY(20, "审核信息变更"),
//    AUDIT_APPLY_MODIFY(21, "审核变更申请"),
    AUDIT(30, "审核"),
//    IMPROVE(31, "整改"),
//    VERIFY(32, "复核"),
//    REPEAT(33, "去重"),
    UNKOWN(99,"未定义");

    private final Integer code;
    private final String message;

    OpLogTypeEnum(Integer code, String message) {
        this.code = code;
        this.message = message;
    }
}
